package com.wbl.train.common.member.vo;

import com.wbl.train.common.member.entity.MemberEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true) // 开启链式语法
public class MemberVo extends MemberEntity {
    // 登录用的验证码
    @Schema(description = "验证码")
    @NotBlank(message = "[验证码不能为空]")
    private String yanKing;

    // 返回给前端的token
    @Schema(description = "token")
    private String token;
}
